Skip to main content

Delete Files

Description

Delete Files removes specified files or folders — including subfolders — from the file system. Use this process entry for broad file cleanup operations — for example, purging old data files matching a wildcard pattern, removing all files from a processing directory, or deleting output from previous runs before starting a new batch. It supports regular expression wildcards and subfolder inclusion for flexible targeting.

Configurations

Field NameDescription
Process Entry nameSpecify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name.
Include SubfoldersAlso delete the subfolders in the folder selection
Copy previous results to args?Enable this if the set of files comes from a previous process entry (as part of the result files)
Fail If File Not ExistSelect the checkbox to fail the process when the file to be deleted does not exist.
File/FolderThe file or folder to delete

NOTE: Click Add to add the file to the list of files / folder.

WildcardThe regular expression matching files to delete if the previous option is a folder. For example,
For example,
Regular expression to delete files ending with .dat:
.*\.dat$
.*dat
Files/FoldersThe complete list of files/folders to delete